package com.xc.sbdemo.service;


import com.xc.sbdemo.entity.Movie;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MovieService {

    List<Movie> getList(Integer pageIndex, Integer pageSize);

    int add(Movie movie);

    int count();

    Movie selectByMovieName(@Param("movieName") String movieName);

    Movie selectByMovieId(@Param("movieId") Integer movieId);

    int modify(Movie movie);

    int del(@Param("movieId") Integer movieId);
}
